//out:../css/
@import url(base.less);
// 声明基准值变量
@basesize: 3.75vmin;

// 头部盒子
.suspension {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    box-shadow: 0 0.53333vmin 2.66667vmin rgb(0 0 0 / 20%);

    .m-navbar {
        height: (44/@basesize);
        align-items: center;

        display: flex;
        justify-content: space-between;
        padding: 0 (12/@basesize) 0 (18/@basesize);

        .logo {
            i {
                font-size: (28 / @basesize);
                color: #fb7299;
            }
        }

        .right {
            display: flex;

            .search {
                i {
                    font-size: (22/@basesize);
                    color: #ccc;
                }
            }

            .face {
                width: (24/@basesize);
                height: (24/@basesize);
                border-radius: 50%;
                overflow: hidden;
                margin: 0 (20/@basesize);
            }

            .app-bth {
                width: (72/@basesize);
                height: (24/@basesize);
            }
        }
    }

    .channel-menu {
        height: (40/@basesize);
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #e7e7e7;


        .tabs {
            position: relative;
            flex: 1;
            overflow: hidden;

            .tabs-list {
                display: flex;

                a {
                    white-space: nowrap;
                    padding: 0 (16/@basesize);
                    font-size: (14/@basesize);
                    height: (40/@basesize);
                    line-height: (40/@basesize);
                    text-align: center;

                }

                .line {
                    position: absolute;
                    left: (16/@basesize);
                    bottom: 0;
                    width: (28/@basesize);
                    height: (2/@basesize);
                    background-color: #fb7299;
                }
            }
        }

        .after {
            width: (40/@basesize);
            height: (39/@basesize);
            text-align: center;
            line-height: (39/@basesize);
            background-color: #fff;

            i {
                color: #ccc;
                font-size: (20/@basesize);
            }
        }

    }
}

// 主体部分
.m-home {
    padding: (85/@basesize) (5/@basesize) 0;

    .video-list {
        display: flex;
        flex-wrap: wrap;

        .video-item {
            width: 50%;
            padding: (8/@basesize) (5/@basesize);

            p {
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                margin-top: (5/@basesize);
                font-size: (12/@basesize);
            }

            .card {
                position: relative;
                height: (97/@basesize);

                .count {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    height: (27/@basesize);
                    width: 100%;
                    padding: 0 (5/@basesize);
                    color: #fff;
                    font-size: (12/@basesize);
                    background-image: linear-gradient(transparent, rgba(0, 0, 0.5));


                }
            }


        }
    }
}

// 底部模块
.app {
    position: fixed;
    left: 0;
    bottom: (30/@basesize);
    height: (38/@basesize);
    width: 100%;
    padding: 0 (20 /@basesize);

    .btn-app {
        border-radius: (19/@basesize);
        background-color: #fb7299;
        height: (38/@basesize);
        text-align: center;
        line-height: (38/@basesize);
        color: #fff;
        font-size: (16/@basesize);
        box-shadow: 0 0.53333vmin 2.66667vmin rgb(0 0 0 / 20%);
    }
}